package messages;
import sharedspace.*;

public class MessageFinalGrade extends Message {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ApprovingGrade approvingGrade;
	private MyFile myFile;
	
	public MessageFinalGrade(ApprovingGrade approvingGrade)
	{
		super(Message.MessageType.MESSAGE_FINAL_GRADE);
		this.approvingGrade = approvingGrade;
	}
	
	public MessageFinalGrade(MyFile myFile, ApprovingGrade approvingGrade)
	{
		super(Message.MessageType.MESSAGE_FINAL_GRADE_MANUAL);
		this.approvingGrade = approvingGrade;
		this.myFile = myFile;
	}

	public ApprovingGrade getApprovingGrade() {
		return approvingGrade;
	}

	public void setApprovingGrade(ApprovingGrade approvingGrade) {
		this.approvingGrade = approvingGrade;
	}

	public MyFile getMyFile() {
		return myFile;
	}

	public void setMyFile(MyFile myFile) {
		this.myFile = myFile;
	}

}
